package com.chat.chatting.dto;

import lombok.Data;

import java.util.Map;

@Data
public class DataJson {
    public static final Integer SUCCESS = 1;
    public static final Integer DEFEAT = 0;

    /**
     * code表操作状态
     * 1-操作成功
     * 0-操作失败
     */
    private Integer code;
    /**
     * msg存入操作失败原因
     */
    private String msg;
    /**
     * data用于存图片放回的路径
     * "src":"路径"
     */
    private Map<String,String> data;
}
